home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / ep860.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  25.6 KB  |  923 lines

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "EP860.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "Epson LQ-860"
  10. *MasterUnits: PAIR(360, 360)
  11. *ResourceDLL: "ep24res.dll"
  12. *PrintRate: 300
  13. *PrintRateUnit: CPS
  14. *PrinterType: SERIAL
  15. *FontCartSlots: 2
  16. *Feature: Orientation
  17. {
  18.     *rcNameID: =ORIENTATION_DISPLAY
  19.     *DefaultOption: PORTRAIT
  20.     *Option: PORTRAIT
  21.     {
  22.         *rcNameID: =PORTRAIT_DISPLAY
  23.     }
  24.     *Option: LANDSCAPE_CC270
  25.     {
  26.         *rcNameID: =LANDSCAPE_DISPLAY
  27.     }
  28. }
  29. *Feature: InputBin
  30. {
  31.     *rcNameID: =PAPER_SOURCE_DISPLAY
  32.     *DefaultOption: TRACTOR
  33.     *Option: TRACTOR
  34.     {
  35.         *rcNameID: =TRACTOR_DISPLAY
  36.         *Command: CmdSelect
  37.         {
  38.             *Order: DOC_SETUP.3
  39.             *Cmd: "<1B19>0"
  40.         }
  41.     }
  42.     *Option: MANUAL
  43.     {
  44.         *rcNameID: =MANUAL_FEED_DISPLAY
  45.         *Command: CmdSelect
  46.         {
  47.             *Order: DOC_SETUP.3
  48.             *Cmd: "<1B19>0"
  49.         }
  50.     }
  51.     *Option: Option3
  52.     {
  53.         *rcNameID: 263
  54.         *Command: CmdSelect
  55.         {
  56.             *Order: DOC_SETUP.3
  57.             *Cmd: "<1B19>4<1B19>1"
  58.         }
  59.     }
  60.     *Option: Option4
  61.     {
  62.         *rcNameID: 264
  63.         *Command: CmdSelect
  64.         {
  65.             *Order: DOC_SETUP.3
  66.             *Cmd: "<1B19>4<1B19>2"
  67.         }
  68.     }
  69. }
  70. *Feature: Resolution
  71. {
  72.     *rcNameID: =RESOLUTION_DISPLAY
  73.     *DefaultOption: Option1
  74.     *Option: Option1
  75.     {
  76.         *Name: "180 x 180 " =DOTS_PER_INCH
  77.         *DPI: PAIR(180, 180)
  78.         *TextDPI: PAIR(180, 180)
  79.         *PinsPerLogPass: 24
  80.         *PinsPerPhysPass: 24
  81.         *MinStripBlankPixels: 180
  82.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  83.         *SpotDiameter: 120
  84.         *Command: CmdSendBlockData { *Cmd : "<1B>*'" %l{NumOfDataBytes / 3} }
  85.     }
  86.     *Option: Option2
  87.     {
  88.         *Name: "360 x 180 " =DOTS_PER_INCH
  89.         *DPI: PAIR(360, 180)
  90.         *TextDPI: PAIR(360, 180)
  91.         *PinsPerLogPass: 24
  92.         *PinsPerPhysPass: 24
  93.         *MinStripBlankPixels: 360
  94.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  95.         *SpotDiameter: 170
  96.         *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  97.     }
  98.     *Option: Option3
  99.     {
  100.         *Name: "360 x 360 " =DOTS_PER_INCH
  101.         *DPI: PAIR(360, 360)
  102.         *TextDPI: PAIR(360, 360)
  103.         *PinsPerLogPass: 48
  104.         *PinsPerPhysPass: 24
  105.         *MinStripBlankPixels: 360
  106.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  107.         *SpotDiameter: 170
  108.         *Command: CmdSendBlockData { *Cmd : "<1B>*(" %l{NumOfDataBytes / 3} }
  109.     }
  110.     *Option: Option4
  111.     {
  112.         *Name: "120 x 180 " =DOTS_PER_INCH
  113.         *DPI: PAIR(120, 180)
  114.         *TextDPI: PAIR(120, 180)
  115.         *PinsPerLogPass: 24
  116.         *PinsPerPhysPass: 24
  117.         *MinStripBlankPixels: 120
  118.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING,ENCLOSED,TRAILING)
  119.         *SpotDiameter: 100
  120.         *Command: CmdSendBlockData { *Cmd : "<1B>*!" %l{NumOfDataBytes / 3} }
  121.     }
  122. }
  123. *Feature: PaperSize
  124. {
  125.     *rcNameID: =PAPER_SIZE_DISPLAY
  126.     *DefaultOption: LETTER
  127.     *Option: LETTER
  128.     {
  129.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  130.         *Command: CmdSelect
  131.         {
  132.             *Order: DOC_SETUP.4
  133.             *Cmd: "<1B>2<1B>CB"
  134.         }
  135.         *switch: InputBin
  136.         {
  137.             *case: TRACTOR
  138.             {
  139.                 *PrintableArea: PAIR(2880, 3960)
  140.                 *PrintableOrigin: PAIR(90, 0)
  141.             }
  142.             *case: MANUAL
  143.             {
  144.                 *PrintableArea: PAIR(2880, 3615)
  145.                 *PrintableOrigin: PAIR(90, 120)
  146.                 *switch: Resolution
  147.                 {
  148.                     *case: Option1
  149.                     {
  150.                         *PrintableArea: PAIR(2880, 3614)
  151.                     }
  152.                     *case: Option2
  153.                     {
  154.                         *PrintableArea: PAIR(2880, 3614)
  155.                     }
  156.                     *case: Option4
  157.                     {
  158.                         *PrintableArea: PAIR(2880, 3614)
  159.                     }
  160.                 }
  161.             }
  162.             *case: Option3
  163.             {
  164.                 *PrintableArea: PAIR(2880, 3615)
  165.                 *PrintableOrigin: PAIR(90, 120)
  166.                 *switch: Resolution
  167.                 {
  168.                     *case: Option1
  169.                     {
  170.                         *PrintableArea: PAIR(2880, 3614)
  171.                     }
  172.                     *case: Option2
  173.                     {
  174.                         *PrintableArea: PAIR(2880, 3614)
  175.                     }
  176.                     *case: Option4
  177.                     {
  178.                         *PrintableArea: PAIR(2880, 3614)
  179.                     }
  180.                 }
  181.             }
  182.             *case: Option4
  183.             {
  184.                 *PrintableArea: PAIR(2880, 3615)
  185.                 *PrintableOrigin: PAIR(90, 120)
  186.                 *switch: Resolution
  187.                 {
  188.                     *case: Option1
  189.                     {
  190.                         *PrintableArea: PAIR(2880, 3614)
  191.                     }
  192.                     *case: Option2
  193.                     {
  194.                         *PrintableArea: PAIR(2880, 3614)
  195.                     }
  196.                     *case: Option4
  197.                     {
  198.                         *PrintableArea: PAIR(2880, 3614)
  199.                     }
  200.                 }
  201.             }
  202.         }
  203.     }
  204.     *Option: LEGAL
  205.     {
  206.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  207.         *Command: CmdSelect
  208.         {
  209.             *Order: DOC_SETUP.4
  210.             *Cmd: "<1B>2<1B>CT"
  211.         }
  212.         *switch: InputBin
  213.         {
  214.             *case: TRACTOR
  215.             {
  216.                 *PrintableArea: PAIR(2880, 5040)
  217.                 *PrintableOrigin: PAIR(90, 0)
  218.             }
  219.             *case: MANUAL
  220.             {
  221.                 *PrintableArea: PAIR(2880, 4695)
  222.                 *PrintableOrigin: PAIR(90, 120)
  223.                 *switch: Resolution
  224.                 {
  225.                     *case: Option1
  226.                     {
  227.                         *PrintableArea: PAIR(2880, 4694)
  228.                     }
  229.                     *case: Option2
  230.                     {
  231.                         *PrintableArea: PAIR(2880, 4694)
  232.                     }
  233.                     *case: Option4
  234.                     {
  235.                         *PrintableArea: PAIR(2880, 4694)
  236.                     }
  237.                 }
  238.             }
  239.             *case: Option3
  240.             {
  241.                 *PrintableArea: PAIR(2880, 4695)
  242.                 *PrintableOrigin: PAIR(90, 120)
  243.                 *switch: Resolution
  244.                 {
  245.                     *case: Option1
  246.                     {
  247.                         *PrintableArea: PAIR(2880, 4694)
  248.                     }
  249.                     *case: Option2
  250.                     {
  251.                         *PrintableArea: PAIR(2880, 4694)
  252.                     }
  253.                     *case: Option4
  254.                     {
  255.                         *PrintableArea: PAIR(2880, 4694)
  256.                     }
  257.                 }
  258.             }
  259.             *case: Option4
  260.             {
  261.                 *PrintableArea: PAIR(2880, 4695)
  262.                 *PrintableOrigin: PAIR(90, 120)
  263.                 *switch: Resolution
  264.                 {
  265.                     *case: Option1
  266.                     {
  267.                         *PrintableArea: PAIR(2880, 4694)
  268.                     }
  269.                     *case: Option2
  270.                     {
  271.                         *PrintableArea: PAIR(2880, 4694)
  272.                     }
  273.                     *case: Option4
  274.                     {
  275.                         *PrintableArea: PAIR(2880, 4694)
  276.                     }
  277.                 }
  278.             }
  279.         }
  280.     }
  281.     *Option: A4
  282.     {
  283.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  284.         *Command: CmdSelect
  285.         {
  286.             *Order: DOC_SETUP.4
  287.             *Cmd: "<1B>2<1B>CF"
  288.         }
  289.         *switch: InputBin
  290.         {
  291.             *case: TRACTOR
  292.             {
  293.                 *PrintableArea: PAIR(2880, 4208)
  294.                 *PrintableOrigin: PAIR(90, 0)
  295.             }
  296.             *case: MANUAL
  297.             {
  298.                 *PrintableArea: PAIR(2880, 3863)
  299.                 *PrintableOrigin: PAIR(90, 120)
  300.                 *switch: Resolution
  301.                 {
  302.                     *case: Option1
  303.                     {
  304.                         *PrintableArea: PAIR(2880, 3862)
  305.                     }
  306.                     *case: Option2
  307.                     {
  308.                         *PrintableArea: PAIR(2880, 3862)
  309.                     }
  310.                     *case: Option4
  311.                     {
  312.                         *PrintableArea: PAIR(2880, 3862)
  313.                     }
  314.                 }
  315.             }
  316.             *case: Option3
  317.             {
  318.                 *PrintableArea: PAIR(2880, 3863)
  319.                 *PrintableOrigin: PAIR(90, 120)
  320.                 *switch: Resolution
  321.                 {
  322.                     *case: Option1
  323.                     {
  324.                         *PrintableArea: PAIR(2880, 3862)
  325.                     }
  326.                     *case: Option2
  327.                     {
  328.                         *PrintableArea: PAIR(2880, 3862)
  329.                     }
  330.                     *case: Option4
  331.                     {
  332.                         *PrintableArea: PAIR(2880, 3862)
  333.                     }
  334.                 }
  335.             }
  336.             *case: Option4
  337.             {
  338.                 *PrintableArea: PAIR(2880, 3863)
  339.                 *PrintableOrigin: PAIR(90, 120)
  340.                 *switch: Resolution
  341.                 {
  342.                     *case: Option1
  343.                     {
  344.                         *PrintableArea: PAIR(2880, 3862)
  345.                     }
  346.                     *case: Option2
  347.                     {
  348.                         *PrintableArea: PAIR(2880, 3862)
  349.                     }
  350.                     *case: Option4
  351.                     {
  352.                         *PrintableArea: PAIR(2880, 3862)
  353.                     }
  354.                 }
  355.             }
  356.         }
  357.     }
  358.     *Option: A5
  359.     {
  360.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  361.         *Command: CmdSelect
  362.         {
  363.             *Order: DOC_SETUP.4
  364.             *Cmd: "<1B>2<1B>C2"
  365.         }
  366.         *switch: InputBin
  367.         {
  368.             *case: TRACTOR
  369.             {
  370.                 *PrintableArea: PAIR(2009, 2977)
  371.                 *PrintableOrigin: PAIR(90, 0)
  372.                 *switch: Resolution
  373.                 {
  374.                     *case: Option1
  375.                     {
  376.                         *PrintableArea: PAIR(2008, 2976)
  377.                     }
  378.                     *case: Option2
  379.                     {
  380.                         *PrintableArea: PAIR(2009, 2976)
  381.                     }
  382.                     *case: Option4
  383.                     {
  384.                         *PrintableArea: PAIR(2007, 2976)
  385.                     }
  386.                 }
  387.             }
  388.             *case: MANUAL
  389.             {
  390.                 *PrintableArea: PAIR(2009, 2632)
  391.                 *PrintableOrigin: PAIR(90, 120)
  392.                 *switch: Resolution
  393.                 {
  394.                     *case: Option1
  395.                     {
  396.                         *PrintableArea: PAIR(2008, 2632)
  397.                     }
  398.                     *case: Option4
  399.                     {
  400.                         *PrintableArea: PAIR(2007, 2632)
  401.                     }
  402.                 }
  403.             }
  404.             *case: Option3
  405.             {
  406.                 *PrintableArea: PAIR(2009, 2632)
  407.                 *PrintableOrigin: PAIR(90, 120)
  408.                 *switch: Resolution
  409.                 {
  410.                     *case: Option1
  411.                     {
  412.                         *PrintableArea: PAIR(2008, 2632)
  413.                     }
  414.                     *case: Option4
  415.                     {
  416.                         *PrintableArea: PAIR(2007, 2632)
  417.                     }
  418.                 }
  419.             }
  420.             *case: Option4
  421.             {
  422.                 *PrintableArea: PAIR(2009, 2632)
  423.                 *PrintableOrigin: PAIR(90, 120)
  424.                 *switch: Resolution
  425.                 {
  426.                     *case: Option1
  427.                     {
  428.                         *PrintableArea: PAIR(2008, 2632)
  429.                     }
  430.                     *case: Option4
  431.                     {
  432.                         *PrintableArea: PAIR(2007, 2632)
  433.                     }
  434.                 }
  435.             }
  436.         }
  437.     }
  438.     *Option: B5
  439.     {
  440.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  441.         *Command: CmdSelect
  442.         {
  443.             *Order: DOC_SETUP.4
  444.             *Cmd: "<1B>2<1B>C="
  445.         }
  446.         *switch: InputBin
  447.         {
  448.             *case: TRACTOR
  449.             {
  450.                 *PrintableArea: PAIR(2491, 3643)
  451.                 *PrintableOrigin: PAIR(90, 0)
  452.                 *switch: Resolution
  453.                 {
  454.                     *case: Option1
  455.                     {
  456.                         *PrintableArea: PAIR(2490, 3642)
  457.                     }
  458.                     *case: Option2
  459.                     {
  460.                         *PrintableArea: PAIR(2491, 3642)
  461.                     }
  462.                     *case: Option4
  463.                     {
  464.                         *PrintableArea: PAIR(2490, 3642)
  465.                     }
  466.                 }
  467.             }
  468.             *case: MANUAL
  469.             {
  470.                 *PrintableArea: PAIR(2491, 3298)
  471.                 *PrintableOrigin: PAIR(90, 120)
  472.                 *switch: Resolution
  473.                 {
  474.                     *case: Option1
  475.                     {
  476.                         *PrintableArea: PAIR(2490, 3298)
  477.                     }
  478.                     *case: Option4
  479.                     {
  480.                         *PrintableArea: PAIR(2490, 3298)
  481.                     }
  482.                 }
  483.             }
  484.             *case: Option3
  485.             {
  486.                 *PrintableArea: PAIR(2491, 3298)
  487.                 *PrintableOrigin: PAIR(90, 120)
  488.                 *switch: Resolution
  489.                 {
  490.                     *case: Option1
  491.                     {
  492.                         *PrintableArea: PAIR(2490, 3298)
  493.                     }
  494.                     *case: Option4
  495.                     {
  496.                         *PrintableArea: PAIR(2490, 3298)
  497.                     }
  498.                 }
  499.             }
  500.             *case: Option4
  501.             {
  502.                 *PrintableArea: PAIR(2491, 3298)
  503.                 *PrintableOrigin: PAIR(90, 120)
  504.                 *switch: Resolution
  505.                 {
  506.                     *case: Option1
  507.                     {
  508.                         *PrintableArea: PAIR(2490, 3298)
  509.                     }
  510.                     *case: Option4
  511.                     {
  512.                         *PrintableArea: PAIR(2490, 3298)
  513.                     }
  514.                 }
  515.             }
  516.         }
  517.     }
  518.     *Option: Option6
  519.     {
  520.         *rcNameID: 261
  521.         *PageDimensions: PAIR(3060, 4320)
  522.         *Command: CmdSelect
  523.         {
  524.             *Order: DOC_SETUP.4
  525.             *Cmd: "<1B>2<1B>CH"
  526.         }
  527.         *switch: InputBin
  528.         {
  529.             *case: TRACTOR
  530.             {
  531.                 *PrintableArea: PAIR(2880, 4320)
  532.                 *PrintableOrigin: PAIR(90, 0)
  533.             }
  534.             *case: MANUAL
  535.             {
  536.                 *PrintableArea: PAIR(2880, 3975)
  537.                 *PrintableOrigin: PAIR(90, 120)
  538.                 *switch: Resolution
  539.                 {
  540.                     *case: Option1
  541.                     {
  542.                         *PrintableArea: PAIR(2880, 3974)
  543.                     }
  544.                     *case: Option2
  545.                     {
  546.                         *PrintableArea: PAIR(2880, 3974)
  547.                     }
  548.                     *case: Option4
  549.                     {
  550.                         *PrintableArea: PAIR(2880, 3974)
  551.                     }
  552.                 }
  553.             }
  554.             *case: Option3
  555.             {
  556.                 *PrintableArea: PAIR(2880, 3975)
  557.                 *PrintableOrigin: PAIR(90, 120)
  558.                 *switch: Resolution
  559.                 {
  560.                     *case: Option1
  561.                     {
  562.                         *PrintableArea: PAIR(2880, 3974)
  563.                     }
  564.                     *case: Option2
  565.                     {
  566.                         *PrintableArea: PAIR(2880, 3974)
  567.                     }
  568.                     *case: Option4
  569.                     {
  570.                         *PrintableArea: PAIR(2880, 3974)
  571.                     }
  572.                 }
  573.             }
  574.             *case: Option4
  575.             {
  576.                 *PrintableArea: PAIR(2880, 3975)
  577.                 *PrintableOrigin: PAIR(90, 120)
  578.                 *switch: Resolution
  579.                 {
  580.                     *case: Option1
  581.                     {
  582.                         *PrintableArea: PAIR(2880, 3974)
  583.                     }
  584.                     *case: Option2
  585.                     {
  586.                         *PrintableArea: PAIR(2880, 3974)
  587.                     }
  588.                     *case: Option4
  589.                     {
  590.                         *PrintableArea: PAIR(2880, 3974)
  591.                     }
  592.                 }
  593.             }
  594.         }
  595.     }
  596.     *Option: Option7
  597.     {
  598.         *rcNameID: 262
  599.         *PageDimensions: PAIR(3060, 4680)
  600.         *Command: CmdSelect
  601.         {
  602.             *Order: DOC_SETUP.4
  603.             *Cmd: "<1B>2<1B>CN"
  604.         }
  605.         *switch: InputBin
  606.         {
  607.             *case: TRACTOR
  608.             {
  609.                 *PrintableArea: PAIR(2880, 4680)
  610.                 *PrintableOrigin: PAIR(90, 0)
  611.             }
  612.             *case: MANUAL
  613.             {
  614.                 *PrintableArea: PAIR(2880, 4335)
  615.                 *PrintableOrigin: PAIR(90, 120)
  616.                 *switch: Resolution
  617.                 {
  618.                     *case: Option1
  619.                     {
  620.                         *PrintableArea: PAIR(2880, 4334)
  621.                     }
  622.                     *case: Option2
  623.                     {
  624.                         *PrintableArea: PAIR(2880, 4334)
  625.                     }
  626.                     *case: Option4
  627.                     {
  628.                         *PrintableArea: PAIR(2880, 4334)
  629.                     }
  630.                 }
  631.             }
  632.             *case: Option3
  633.             {
  634.                 *PrintableArea: PAIR(2880, 4335)
  635.                 *PrintableOrigin: PAIR(90, 120)
  636.                 *switch: Resolution
  637.                 {
  638.                     *case: Option1
  639.                     {
  640.                         *PrintableArea: PAIR(2880, 4334)
  641.                     }
  642.                     *case: Option2
  643.                     {
  644.                         *PrintableArea: PAIR(2880, 4334)
  645.                     }
  646.                     *case: Option4
  647.                     {
  648.                         *PrintableArea: PAIR(2880, 4334)
  649.                     }
  650.                 }
  651.             }
  652.             *case: Option4
  653.             {
  654.                 *PrintableArea: PAIR(2880, 4335)
  655.                 *PrintableOrigin: PAIR(90, 120)
  656.                 *switch: Resolution
  657.                 {
  658.                     *case: Option1
  659.                     {
  660.                         *PrintableArea: PAIR(2880, 4334)
  661.                     }
  662.                     *case: Option2
  663.                     {
  664.                         *PrintableArea: PAIR(2880, 4334)
  665.                     }
  666.                     *case: Option4
  667.                     {
  668.                         *PrintableArea: PAIR(2880, 4334)
  669.                     }
  670.                 }
  671.             }
  672.         }
  673.     }
  674.     *Option: CUSTOMSIZE
  675.     {
  676.         *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  677.         *MinSize: PAIR(180, 360)
  678.         *MaxSize: PAIR(3060, 7920)
  679.         *MaxPrintableWidth: 2880
  680.         *MinLeftMargin: 90
  681.         *CenterPrintable?: FALSE
  682.         *switch: InputBin
  683.         {
  684.             *case: TRACTOR
  685.             {
  686.                 *TopMargin: 0
  687.                 *BottomMargin: 0
  688.             }
  689.             *case: MANUAL
  690.             {
  691.                 *TopMargin: 120
  692.                 *BottomMargin: 225
  693.             }
  694.             *case: Option3
  695.             {
  696.                 *TopMargin: 120
  697.                 *BottomMargin: 225
  698.             }
  699.             *case: Option4
  700.             {
  701.                 *TopMargin: 120
  702.                 *BottomMargin: 225
  703.             }
  704.         }
  705.         *Command: CmdSelect
  706.         {
  707.             *Order: DOC_SETUP.4
  708.             *Cmd: "<1B>2"
  709.         }
  710.     }
  711. }
  712. *Feature: PrintQuality
  713. {
  714.     *rcNameID: =TEXT_QUALITY_DISPLAY
  715.     *DefaultOption: LETTER_QUALITY
  716.     *Option: LETTER_QUALITY
  717.     {
  718.         *rcNameID: =LETTER_QUALITY_DISPLAY
  719.         *Command: CmdSelect
  720.         {
  721.             *Order: DOC_SETUP.2
  722.             *Cmd: "<1B>x<01>"
  723.         }
  724.     }
  725.     *Option: DRAFT_QUALITY
  726.     {
  727.         *rcNameID: =DRAFT_QUALITY_DISPLAY
  728.         *Command: CmdSelect
  729.         {
  730.             *Order: DOC_SETUP.2
  731.             *Cmd: "<1B>x<00>"
  732.         }
  733.     }
  734. }
  735. *Feature: ColorMode
  736. {
  737.     *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  738.     *DefaultOption: Color
  739.     *Option: Mono
  740.     {
  741.         *rcNameID: =MONO_DISPLAY
  742.         *DevNumOfPlanes: 1
  743.         *DevBPP: 1
  744.         *Color? : FALSE
  745.     }
  746.     *Option: Color
  747.     {
  748.         *rcNameID: =COLOR_DISPLAY
  749.         *DevNumOfPlanes: 4
  750.         *DevBPP: 1
  751.         *DrvBPP: 4
  752.         EXTERN_GLOBAL: *UseExpColorSelectCmd? : TRUE
  753.         *ColorPlaneOrder: LIST(YELLOW, MAGENTA, CYAN, BLACK)
  754.         *Command: CmdSendYellowData { *Cmd : "<1B>r<04>" }
  755.         *Command: CmdSendMagentaData { *Cmd : "<1B>r<01>" }
  756.         *Command: CmdSendCyanData { *Cmd : "<1B>r<02>" }
  757.         *Command: CmdSendBlackData { *Cmd : "<1B>r<00>" }
  758.         *Command: CmdSelectBlackColor { *Cmd : "<1B>r<00>" }
  759.         *Command: CmdSelectRedColor { *Cmd : "<1B>r<05>" }
  760.         *Command: CmdSelectGreenColor { *Cmd : "<1B>r<06>" }
  761.         *Command: CmdSelectYellowColor { *Cmd : "<1B>r<04>" }
  762.         *Command: CmdSelectBlueColor { *Cmd : "<1B>r<02>" }
  763.         *Command: CmdSelectMagentaColor { *Cmd : "<1B>r<01>" }
  764.         *Command: CmdSelectCyanColor { *Cmd : "<1B>r<02>" }
  765.     }
  766. }
  767. *Feature: Halftone
  768. {
  769.     *rcNameID: =HALFTONING_DISPLAY
  770.     *DefaultOption: HT_PATSIZE_AUTO
  771.     *Option: HT_PATSIZE_AUTO
  772.     {
  773.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  774.     }
  775. *Ifdef: WINNT_50
  776.     *Option: HT_PATSIZE_SUPERCELL_M
  777.     {
  778.         *rcNameID: =HT_SUPERCELL_DISPLAY
  779.     }
  780. *Endif:
  781.     *Option: HT_PATSIZE_6x6_M
  782.     {
  783.         *rcNameID: =HT_DITHER6X6_DISPLAY
  784.     }
  785.     *Option: HT_PATSIZE_8x8_M
  786.     {
  787.         *rcNameID: =HT_DITHER8X8_DISPLAY
  788.     }
  789. }
  790. *Command: CmdStartDoc
  791. {
  792.     *Order: DOC_SETUP.1
  793.     *Cmd: "<1B>@<1B>t<011B>6<1B>R<001B>r<001B>U<01>"
  794. }
  795. *Command: CmdStartPage
  796. {
  797.     *Order: PAGE_SETUP.1
  798.     *Cmd: "<0D>"
  799. }
  800. *Command: CmdEndJob
  801. {
  802.     *Order: JOB_FINISH.1
  803.     *Cmd: "<1B>@"
  804. }
  805. *RotateCoordinate?: FALSE
  806. *RotateRaster?: FALSE
  807. *RotateFont?: FALSE
  808. *switch: Orientation
  809. {
  810.     *case: PORTRAIT
  811.     {
  812.         *TextCaps: LIST(TC_SA_DOUBLE,TC_EA_DOUBLE,TC_IA_ABLE,TC_UA_ABLE,TC_RA_ABLE)
  813.     }
  814.     *case: LANDSCAPE_CC270
  815.     {
  816.         *TextCaps: LIST(TC_RA_ABLE)
  817.     }
  818. }
  819. *CursorXAfterCR: AT_CURSOR_X_ORIGIN
  820. *YMoveAttributes: LIST(SEND_CR_FIRST)
  821. *MaxLineSpacing: 255
  822. *XMoveThreshold: 0
  823. *YMoveThreshold: *
  824. *XMoveUnit: 60
  825. *YMoveUnit: 180
  826. *Command: CmdXMoveAbsolute { *Cmd : "<1B>$" %l{(DestX / 6) } }
  827. *Command: CmdYMoveRelDown { *Cmd : "<1B>J" %c[0,255]{max_repeat((DestYRel / 2) )} }
  828. *Command: CmdSetLineSpacing { *Cmd : "<1B>3" %c[0,255]{(LinefeedSpacing / 2) } }
  829. *Command: CmdCR { *Cmd : "<0D>" }
  830. *Command: CmdLF { *Cmd : "<0A>" }
  831. *Command: CmdFF { *Cmd : "<0C>" }
  832. *Command: CmdBackSpace { *Cmd : "<08>" }
  833. *Command: CmdUniDirectionOn { *Cmd : "<1B>U<01>" }
  834. *Command: CmdUniDirectionOff { *Cmd : "<1B>U<00>" }
  835. *EjectPageWithFF?: TRUE
  836. *switch: PaperSize
  837. {
  838.     *case: CUSTOMSIZE
  839.     {
  840.         *EjectPageWithFF?: FALSE
  841.         *switch: InputBin
  842.         {
  843.             *case: MANUAL
  844.             {
  845.                 *EjectPageWithFF?: TRUE
  846.             }
  847.             *case: Option3
  848.             {
  849.                 *EjectPageWithFF?: TRUE
  850.             }
  851.             *case: Option4
  852.             {
  853.                 *EjectPageWithFF?: TRUE
  854.             }
  855.         }
  856.     }
  857. }
  858. *OutputDataFormat: V_BYTE
  859. *OptimizeLeftBound?: FALSE
  860. *CursorXAfterSendBlockData: AT_GRXDATA_END
  861. *CursorYAfterSendBlockData: NO_MOVE
  862. *DefaultFont: 3
  863. *DefaultCTT: 1
  864. *switch: Orientation
  865. {
  866.     *case: PORTRAIT
  867.     {
  868.         *DeviceFonts: LIST(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16)
  869.     }
  870.     *case: LANDSCAPE_CC270
  871.     {
  872.         *DeviceFonts: LIST()
  873.     }
  874. }
  875. *FontCartridge: FC1
  876. {
  877.     *rcCartridgeNameID: 266
  878.     *PortraitFonts: LIST(17,18,19,20,21,22,23)
  879.     *LandscapeFonts: LIST()
  880. }
  881. *FontCartridge: FC2
  882. {
  883.     *rcCartridgeNameID: 267
  884.     *PortraitFonts: LIST(24,25,26,27,28,29,30)
  885.     *LandscapeFonts: LIST()
  886. }
  887. *FontCartridge: FC3
  888. {
  889.     *rcCartridgeNameID: 268
  890.     *PortraitFonts: LIST(31,32,33,34,35,36,37)
  891.     *LandscapeFonts: LIST()
  892. }
  893. *FontCartridge: FC4
  894. {
  895.     *rcCartridgeNameID: 269
  896.     *PortraitFonts: LIST(39)
  897.     *LandscapeFonts: LIST()
  898. }
  899. *FontCartridge: FC5
  900. {
  901.     *rcCartridgeNameID: 270
  902.     *PortraitFonts: LIST(38)
  903.     *LandscapeFonts: LIST()
  904. }
  905. *FontCartridge: FC6
  906. {
  907.     *rcCartridgeNameID: 271
  908.     *PortraitFonts: LIST(40)
  909.     *LandscapeFonts: LIST()
  910. }
  911. *FontCartridge: FC7
  912. {
  913.     *rcCartridgeNameID: 272
  914.     *PortraitFonts: LIST(41)
  915.     *LandscapeFonts: LIST()
  916. }
  917. *Command: CmdBoldOn { *Cmd : "<1B>E" }
  918. *Command: CmdBoldOff { *Cmd : "<1B>F" }
  919. *Command: CmdItalicOn { *Cmd : "<1B>4" }
  920. *Command: CmdItalicOff { *Cmd : "<1B>5" }
  921. *Command: CmdUnderlineOn { *Cmd : "<1B>-<01>" }
  922. *Command: CmdUnderlineOff { *Cmd : "<1B>-<00>" }
  923.